SIZE
Section: User Commands (1)
Updated: October 22, 1991
Index
Return to Main Contents
NAME
size - size of an object file
SYNOPSIS
size
[ option ... ] [ object ... ]
DESCRIPTION
Size
(without the
-m
option) prints the (decimal) number of bytes required by the __TEXT,
__DATA and __OBJC segments. All other segments are totaled and
that size is listed in the `others' column. The final two columns is
the sum in decimal and hexadecimal.
If no file is specified,
a.out
is used.
The options to
size(1)
are:
- -
-
Treat the remaining arguments as name of object files not options to
size(1).
- -m
-
Print the sizes of the Mach-O segments and sections as well as the total sizes
of the sections in each segment and the total size of the segments in the file.
- -l
-
When used with the
-m
option, also print the addresses and offsets of the sections and segments.
- -x
-
When used with the
-m
option,
print the values in hexadecimal (with leading 0x's) rather than decimal.
SEE ALSO
otool(1)
BUGS
The size of common symbols can't be reflected in any of the numbers for
relocatable object files.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- SEE ALSO
-
- BUGS
-
This document was created by
man2html,
using the manual pages.
Time: 17:18:41 GMT, March 25, 2025